<template>
  <div id="app">
   
   
    <Header/>
    <router-view></router-view>
    <Footer v-show="!$route.meta.isFooterHide"/>
  </div>
</template>

<script>

import Header from '@comp/Header'
import Footer from '@comp/Footer'
import { mapActions } from 'vuex'
export default {
  name: 'App',
  components: {
    Header,
    Footer
  },
  mounted(){
    // 1.三级列表请求数据
    this.categoryListAction()
  },
  methods:{
    ...mapActions("home", ["categoryListAction"]),
  }
}
</script>

<style>

</style>
